package com.name.givename.service;

import com.github.pagehelper.Page;
import com.name.givename.dto.NameListDTO;
import com.name.givename.entity.UserNamedInfoEntity;
import com.name.givename.param.ExamineNameParams;
import com.name.givename.param.PageParams;
import com.name.givename.param.UserNameInfoParams;

import javax.naming.Name;
import java.util.List;

public interface UserNameInfoService {
    /**
     * 用户起名信息
     * @return
     */
    Page<NameListDTO> getUserNameInfo(PageParams pageParams);

    List<UserNamedInfoEntity> getUserNameInfoByIdOrName(String giveName);

    Page<NameListDTO> getUserNames();

    void updateNameStatus(ExamineNameParams examineNameParams);

}
